Skip to content

Conversation

MingcongBai
Copy link
Member

No description provided.

.timestamp();
let form = reqwest::multipart::Form::new()
.text("title", title.to_string())
.text("language", "diff")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"diff" -> "plaintext"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, "language" field is option

bail!("text is too large to be pasted to https://paste.aosc.io/")
}
let client = ClientBuilder::new().user_agent("buildit").build()?;
let exp_date = chrono::Utc::now()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need exp_date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants